package com.eian.boot.module.system.dept.model.dto;

import com.eian.boot.common.core.model.core.BaseDTO;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 用户部门分配请求
 *
 * @author alex.meng
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserDeptAssignRequest extends BaseDTO {

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @NotNull(message = "主部门ID不能为空")
    private Long mainDeptId;

    private List<Long> partDeptIds;
}

